javascript:(function () {
	var doc=document;
	var body=doc.body;
	var host="meiweisq.com";
	var notify_id="mw-notify-wrapper";
	if(host.indexOf('host') > 0) {
		host = 'meiweisq.com';
	}
	window._MW_HOST_ = host;
	var strVar = "";
	strVar += "<div style=\"left: 0;overflow: hidden;position: fixed;text-align: center;top: 0;width: 100%;background-color:#ededed;box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);z-index:2147483647;text-align:center;font-size:15px;height:73px\">";
	strVar += " <div>";
	strVar += " <div style=\" background-color: #3f7dca;float:left;height:3px;width:50%\"><\/div>";
	strVar += " <div style=\" background-color: #73a9ec;float:left;height:3px;width: 50%\"><\/div>";
	strVar += " <\/div>";
	strVar += " <a href=\"http:\/\/meiweisq.com\" target=\"_blank\" class=\"meiwei_logo\"><img src=\"//" + _MW_HOST_ + "\/static\/img\/meiweisq_logo.png\"><\/a>";
	strVar += "<div style=\"padding:26px\"><a href=\"//meiweisq.com\">%E7%BE%8E%E5%91%B3%E4%B9%A6%E7%AD%BE</a>%E5%8A%A0%E8%BD%BD%E4%B8%AD...</div>";
	strVar += " <\/div>";
	function remove (id) {
		var e = doc.getElementById(id);
		if(e) {
			e.parentNode.removeChild(e);
		}
	}
	function init_ui() {
		remove(notify_id);
		var div = document.createElement("div");
		div.innerHTML = strVar;
		div.id = notify_id;
		body.insertBefore(div, document.body.childNodes[0]);
		var top = -65;
		function animate() {
			div.style.top = top + 'px';
			if(top < 0) {
				top += 2;
				if(top> 0) {
					top = 0;
				}
				window.setTimeout(animate, 4);
			}
		}
		animate();
	}
	function load_css(){
		var style_id = "sq_style";
		remove(style_id);
		var style = doc.createElement('link');
		style.rel = "stylesheet";
		style.type = "text/css";
		style.href = "//" + host + "/static/css/save_v2.css?v3";
		style.id = style_id;
		var head = document.getElementsByTagName('head')[0] || document.body;
		head.appendChild(style);
	}
	function load_js(){
		var js_id = "sq_bookmarklet";
		remove(js_id);
		var js = doc.createElement('script');
		js.type = 'text/javascript';
		js.src = "//" + host + "/static/js/save_v3.js?"+Math.random();
		js.charset = "UTF-8";
		js.id = js_id;
		var s = doc.getElementsByTagName('script')[0];
		if(s) {
			s.parentNode.insertBefore(js, s);
		}
		else {
			doc.body.appendChild(js);
		}
	}
	init_ui();
	load_css();
	load_js();
})();
